package com.evony.common.server.events 
{
    import com.evony.common.*;
    
    public class VisitorHelpEvent extends com.evony.common.BaseBean
    {
        public function VisitorHelpEvent(arg1:String, arg2:Object, arg3:Boolean=false, arg4:Boolean=false)
        {
            var loc1:*=0;
            super(arg1, arg3, arg4);
            if (arg2.visitorID != null) 
            {
                this.visitorID = arg2.visitorID;
            }
            if (arg2.visitorName != null) 
            {
                this.visitorName = arg2.visitorName;
            }
            return;
        }

        public function copyTo(arg1:com.evony.common.server.events.VisitorHelpEvent):void
        {
            arg1.visitorID = this.visitorID;
            arg1.visitorName = this.visitorName;
            return;
        }

        public override function toDebugString(arg1:String=""):String
        {
            var loc1:*=0;
            var loc2:*="---- VisitorHelpEvent ----\n";
            loc2 = loc2 + (arg1 + "visitorID = " + this.visitorID + "\n");
            loc2 = loc2 + (arg1 + "visitorName = " + this.visitorName + "\n");
            return loc2;
        }

        public function toObject():Object
        {
            var loc1:*=new Object();
            loc1.visitorID = this.visitorID;
            loc1.visitorName = this.visitorName;
            return loc1;
        }

        public var visitorID:String;

        public var visitorName:String;
    }
}
